﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>


    <!-- 修改下面的COLOR后的颜色代码将改变跟随文字的颜色-->
<style type=text/css> .spanstyle { position:absolute; visibility:visible; top:-50px; font-size:9pt; color: #54B420; font-weight:bold; }</style><script>
var x,y
<!-- 修改下面的STEP后的数字改变跟随文字的间隔距离-->
var step=20
var flag=0
<!-- 修改下面的文字为你需要的文字-->
var message="在线作业---好好学习。天天向上。mei_design."
message=message.split("")
var xpos=new Array()
for (i=0;i<=message.length-1;i++){
xpos[i]=-50}
var ypos=new Array()
for (i=0;i<=message.length-1;i++){
ypos[i]=-50}
function handlerMM(e){
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
flag=1}
function makesnake(){
if (flag==1 && document.all){
for (i=message.length-1; i>=1; i--){
xpos[i]=xpos[i-1]+step
ypos[i]=ypos[i-1]}
xpos[0]=x+step
ypos[0]=y
for (i=0; i<message.length-1; i++){
var thisspan = eval("span"+(i)+".style")
thisspan.posLeft=xpos[i]
thisspan.posTop=ypos[i]}}
else if (flag==1 && document.layers){
for (i=message.length-1; i>=1; i--){
xpos[i]=xpos[i-1]+step
ypos[i]=ypos[i-1]}
xpos[0]=x+step
ypos[0]=y
for (i=0; i<message.length-1; i++){
var thisspan = eval("document.span"+i)
thisspan.left=xpos[i]
thisspan.top=ypos[i]}}
var timer=setTimeout("makesnake()",30)}
</script> 



     <body style="background:url('../../image/login/login_bg.jpg'); background-repeat: repeat-x"><!--这是背景图片，x平铺-->
    <style type="text/css">
        .style1
        {
            width: 99%;
            height: 99px;
        }
        .style21
        {
            width: 100%;
            height: 333px;
        }
        .style22
        {
            width: 98%;
        }
        .style26
        {
            height: 340px;
            width: 474px;
        }
        .style67
        {
            height: 16px;
            width: 100px;
        }
        .style68
        {
            width: 100px;
            height: 62px;
        }
        .style69
        {
            height: 16px;
            width: 152px;
        }
        .style70
        {
            width: 152px;
            height: 62px;
        }
        .style71
        {
            height: 16px;
            width: 216px;
        }
        .style72
        {
            width: 216px;
            height: 62px;
        }
        .style73
        {
            height: 16px;
            width: 98px;
        }
        .style74
        {
            width: 98px;
            height: 62px;
        }
        .style75
        {
        }
*{
	margin: 0;
	padding: 0;
}
        .style76
        {
            width: 142px;
        }
        .style77
        {
            width: 92px;
        }
        .style78
        {
            width: 100%;
        }
        .style79
        {
            width: 258px;
        }
        .style80
        {
            width: 293px;
        }
    </style>

</head>
<body onLoad=makesnake()>










<script>
    for (i = 0; i <= message.length - 1; i++) {
        document.write("<span id='span" + i + "'class='spanstyle'>")
        document.write(message[i])
        document.write("</span>")
    }
    if (document.layers) {
        document.captureEvents(Event.MOUSEMOVE);
    }
    document.onmousemove = handlerMM;
</script>



    <form id="form1" runat="server">
    <div style="text-align: center; width: 900px; height: 105px; margin-right: auto; margin-left: auto">
    
        <table cellpadding="0" cellspacing="0" class="style1">
            <tr>
                <td class="style71">
                </td>
                <td class="style67">
                </td>
                <td class="style73">
                </td>
                <td class="style69">
                   </td>
            </tr>
            <tr>
                <td class="style72">
                </td>
                <td class="style68">
                </td>
                <td class="style74">
                </td>
                <td class="style70">
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>

     <div style="text-align: center; width: 868px; height: 358px; margin-right: auto; margin-left: auto">
         <table cellpadding="0" cellspacing="0" class="style21">
             <tr>
                 <td style="background-image: url('../../image/login/login_left.jpg'); width: 426px; height: 340px;">
                     <table cellpadding="0" cellspacing="0" class="style22">
                         <tr>
                             <td style="background-image: url('../../image/login/login_pic.png'); width: 422px; height: 265px">
                                 &nbsp;</td>
                         </tr>
                     </table>
                 </td>
                 <td style="background-image: url('../../image/login/login_right.jpg'); " class="style26">
                     
                    
                     
                     <table cellpadding="0" cellspacing="1" class="style22" 
                         style="font-style: normal; color: #11449E; font-size: small; height: 145px">
                         <tr>
                             <td class="style76" rowspan="1" style="text-align: right">
                                 <label id="lbYhm">
                                 用户名：</label></td>
                             <td style="text-align: left" class="style80">
                                 <asp:TextBox ID="TextBox1" runat="server" Height="16px" Width="150px"></asp:TextBox>
                             </td>
                         </tr>
                         <tr>
                             <td class="style76" style="text-align: right">
                                 <label id="lbMm">
                                 密　码：</label></td>
                             <td style="text-align: left" class="style80">
                                 <asp:TextBox ID="TextBox2" runat="server" Height="16px" Width="150px" 
                                     TextMode="Password"></asp:TextBox>
                             </td>
                         </tr>
                         <tr>
                             <td class="style75" colspan="2">
                                 <table class="style22">
                                     <tr>
                                         <td class="style77" style="width: 100px">
                                             &nbsp;</td>
                                         <td style="text-align: left">
                                             <asp:RadioButtonList ID="RadioButtonList1" runat="server" Height="23px" 
                                                 RepeatDirection="Horizontal" Width="202px">
                                                 <asp:ListItem Selected="True">学生</asp:ListItem>
                                                 <asp:ListItem>老师</asp:ListItem>
                                                 <asp:ListItem>管理员</asp:ListItem>
                                             </asp:RadioButtonList>
                                         </td>
                                     </tr>
                                 </table>
                             </td>
                         </tr>
                         <tr>
                             <td class="style75" colspan="2">
                                 
                                 <table cellpadding="0" cellspacing="0" class="style78">
                                     <tr>
                                         <td class="style79" style="text-align: right; width: 180px;">
                                             <asp:Button ID="Button2" runat="server" Height="23px" Text="登录" Width="67px" 
                                                 onclick="Button2_Click" />
                                         </td>

                                           <td style=" width: 20px;"></td>
                                                                                                                             
                                         <td style="text-align: left">
                                             <asp:Button ID="Button3" runat="server" Height="23px" Text="重置" Width="67px" onclick="Button3_Click" 
                                                 />
                                         </td>
                                     </tr>
                                 </table>
                                 
                             </td>
                         </tr>
                     </table>
                     
                    
                     
                 </td>
             </tr>
         </table>
    </div>

    <div style="text-align: center; width:900px; height: 200px; margin-right: auto; margin-left: auto; color: #60819D; font-size: small;">
     &copy;@2012-2021 <a href="http://www.hcnu.edu.cn/" target=_blank >&nbsp;河池学院在线作业中心___mei_design</a> <span>版权所有</span>&nbsp;&nbsp;联系电话：15077389317    </span>
    </div>
     </form>






</body>
</html>
